2005-06-12 Matthias Clasen <mclasen@redhat.com>
+ * gdk/*.h: Cleanup. (#169648, Fabricio Barros Cabral)
+
* gdk/gdkcairo.c: Small doc additions.
* gtk/gtktreeview.c (gtk_tree_view_maybe_begin_dragging_row):
2005-06-12 Matthias Clasen <mclasen@redhat.com>
+ * gdk/*.h: Cleanup. (#169648, Fabricio Barros Cabral)
+
* gdk/gdkcairo.c: Small doc additions.
* gtk/gtktreeview.c (gtk_tree_view_maybe_begin_dragging_row):
2005-06-12 Matthias Clasen <mclasen@redhat.com>
+ * gdk/*.h: Cleanup. (#169648, Fabricio Barros Cabral)
+
* gdk/gdkcairo.c: Small doc additions.
* gtk/gtktreeview.c (gtk_tree_view_maybe_begin_dragging_row):
#include <gdk/gdkvisual.h>
#include <gdk/gdkwindow.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* Initialization, exit and events
# define GDK_THREADS_LEAVE()
#endif /* !G_THREADS_ENABLED */
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_H__ */
#include <gdk/gdktypes.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
typedef struct _GdkDragContext GdkDragContext;
guint32 time_);
gboolean gdk_drag_drop_succeeded (GdkDragContext *context);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_DND_H__ */
#include <cairo.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
typedef struct _GdkDrawableClass GdkDrawableClass;
typedef struct _GdkTrapezoid GdkTrapezoid;
GdkRegion *gdk_drawable_get_clip_region (GdkDrawable *drawable);
GdkRegion *gdk_drawable_get_visible_region (GdkDrawable *drawable);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_DRAWABLE_H__ */
#include <gdk/gdkdnd.h>
#include <gdk/gdkinput.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GDK_TYPE_EVENT (gdk_event_get_type ())
GValue *value);
#endif /* GDK_MULTIHEAD_SAFE */
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_EVENTS_H__ */
#include <gdk/gdktypes.h>
#include <pango/pango-font.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GDK_TYPE_FONT gdk_font_get_type ()
#endif /* GDK_DISABLE_DEPRECATED */
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_FONT_H__ */
#include <gdk/gdkcolor.h>
#include <gdk/gdktypes.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
typedef struct _GdkGCValues GdkGCValues;
typedef struct _GdkGCClass GdkGCClass;
#define gdk_gc_destroy gdk_gc_unref
#endif /* GDK_DISABLE_DEPRECATED */
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_DRAWABLE_H__ */
#include <gdk/gdktypes.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GDK_TYPE_DEVICE (gdk_device_get_type ())
#define GDK_DEVICE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_DEVICE, GdkDevice))
GdkDevice *gdk_device_get_core_pointer (void);
#endif
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_INPUT_H__ */
void _gdk_image_exit (void);
void _gdk_windowing_exit (void);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_INTERNALS_H__ */
#include <gdk/gdktypes.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
typedef struct _GdkKeymapKey GdkKeymapKey;
guint gdk_unicode_to_keyval (guint32 wc) G_GNUC_CONST;
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_KEYS_H__ */
#include <gdk/gdktypes.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* Pango interaction */
PangoAttribute *gdk_pango_attr_stipple_new (GdkBitmap *stipple);
PangoAttribute *gdk_pango_attr_embossed_new (gboolean embossed);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_FONT_H__ */
#include <gdk/gdktypes.h>
#include <gdk/gdkdrawable.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
typedef struct _GdkPixmapObject GdkPixmapObject;
typedef struct _GdkPixmapObjectClass GdkPixmapObjectClass;
#define gdk_pixmap_unref gdk_drawable_unref
#endif /* GDK_DISABLE_DEPRECATED */
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_PIXMAP_H__ */
#include <gdk/gdktypes.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
typedef enum
{
void gdk_free_text_list (gchar **list);
void gdk_free_compound_text (guchar *ctext);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_PROPERTY_H__ */
#include <gdk/gdktypes.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* GC fill rule for polygons
* EvenOddRule
GdkSpanFunc function,
gpointer data);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_REGION_H__ */
#include <gdk/gdktypes.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
typedef struct _GdkRgbCmap GdkRgbCmap;
gboolean gdk_rgb_colormap_ditherable (GdkColormap *cmap);
#endif
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_RGB_H__ */
#include <gdk/gdktypes.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* Predefined atoms relating to selections. In general, one will need to use
* gdk_intern_atom
GdkAtom property,
guint32 time_);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_SELECTION_H__ */
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* Type definitions for the basic structures.
gint width;
};
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_TYPES_H__ */
#include <gdk/gdktypes.h>
#include <gdk/gdkevents.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
typedef struct _GdkGeometry GdkGeometry;
typedef struct _GdkWindowAttr GdkWindowAttr;
gdk_draw_pixmap(drawable,gc,source_drawable,source_x,source_y,x,y,width,height)
#endif /* GDK_DISABLE_DEPRECATED */
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_WINDOW_H__ */
#include <gdk/gdkdrawable.h>
#include <gdk/win32/gdkwin32.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* Drawable implementation for Win32
*/
void _gdk_win32_drawable_release_dc (GdkDrawable *drawable);
void _gdk_win32_drawable_finish (GdkDrawable *drawable);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_DRAWABLE_WIN32_H__ */
#include <gdk/win32/gdkdrawable-win32.h>
#include <gdk/gdkpixmap.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* Pixmap implementation for Win32
*/
GType _gdk_pixmap_impl_win32_get_type (void);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_PIXMAP_WIN32_H__ */
#include <gdk/win32/gdkdrawable-win32.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
typedef struct _GdkWin32PositionInfo GdkWin32PositionInfo;
GType _gdk_window_impl_win32_get_type (void);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_WINDOW_WIN32_H__ */
#include <X11/Xmd.h>
-#ifdef __cplusplus
-extern "C" {
-#endif
+G_BEGIN_DECLS
typedef struct {
unsigned long flags;
#define PROP_MOTIF_WM_INFO_ELEMENTS 2
#define PROP_MWM_INFO_ELEMENTS PROP_MOTIF_WM_INFO_ELEMENTS
-#ifdef __cplusplus
-}
-#endif
+G_END_DECLS
#endif /* MWMUTIL_H_INCLUDED */
#include <X11/Xlib.h>
#include <X11/extensions/Xrender.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* Drawable implementation for X11
*/
void _gdk_x11_drawable_finish (GdkDrawable *drawable);
void _gdk_x11_drawable_update_size (GdkDrawable *drawable);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_DRAWABLE_X11_H__ */
#include <gdk/x11/gdkdrawable-x11.h>
#include <gdk/gdkpixmap.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
/* Pixmap implementation for X11
*/
GType gdk_pixmap_impl_x11_get_type (void);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
#endif /* __GDK_PIXMAP_X11_H__ */